<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Cloudy | Content</title>
</head>
<%@ include file="template/headerContent.jsp" %>
<body>     
	<div class="full_width">
	<!-- Put your codes here -->
    <h2>Create Prescription</h2>
    NRIC: <input type ="text" name="NRIC"> Name: <input type ="text" name="name"> <input type ="button" name="searchP" value="Search Patient"><br/><br/>
    <select name="NRIC" id="NRIC">
    	<option value="NIL">Patient Search Results</option>
    	<option value="S9362614H">S9362614H - Amy</option>
    	<option value="S9837819A">S9837819A - Jane</option>
    	<option value="S9184083C">S9184083C - Keith</option>
    	<option value="S9128184J">S9128184J - Zack</option>
    </select><br/><br/>
    
    Medicine:
	<div>
		<input id="autocomplete" title="Type a medicine name"> <input type ="button" name="searchM" value="Search Medicine">
	</div><br/>
    <select name="medicine" id="medicine">
    	<option value="NIL">Medicine Search Results</option>
    	<option value="009223">009223 - Chloropheniramine</option>
    	<option value="009224">009224 - Dexchloropheniramine</option>
    </select>
    <input type ="button" name="infoM" value="Info"> &nbsp;
    <select name="dosageTaken" id="dosageTaken">
    	<option value="NIL">Select Dosage to be taken</option>
    	<option value="1">1 Tablet</option>
    	<option value="2">2 Tablets</option>
    </select>
    <select name="dosageTimes" id="dosageTimes">
    	<option value="NIL">Select Times to be taken</option>
    	<option value="2">2 times/day</option>
    	<option value="3">3 times/day</option>
    	<option value="4">4 times/day</option>
    </select>
    
    <br/><br/>
    
    <input type="button" name="addM" value="Add Medicine"><br/><br/>
    <table border="1" style="border-collapse:collapse">
    <tr>
    	<td>Selected Medicine</td> <td>Dosage(taken)</td> <td>Dosage(times)</td>
    </tr>
    <tr>
    	<td>Pacofen</td> <td>2 Tablets</td> <td>3 times/day</td>
    </tr>
    <tr>
    	<td>Lactose</td> <td>15 ml</td> <td>when necessary</td>
    </tr>
    </table><br/>
    
    <input type="submit" value="Create Prescription">       	
                
                
    <!-- Do not remove the BR unless your content is long -->
    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
    <div class="button_01 float_l"><a href="#">Use this etc</a></div>
    <div class="button_01 float_r"><a href="#">Continue</a></div>
                
    <div class="cleaner"></div>
</div>

<%@ include file="template/footerContent.jsp" %>
</body>
</html>